for(let i = 0; i< 6;i++) {
    console.log(Math.floor(Math.random()*2));
}
console.log('----------------------');

console.log(Math.floor(Math.random()* 6 +1));